SetException Method

Task Parallel System.Threading

Overload List

  NameDescription
SetException(IEnumerable<(Of <(Exception>)>))
Transitions the underlying Task<(Of <(TResult>)>) into the Faulted state.
SetException(Exception)
Transitions the underlying Task<(Of <(TResult>)>) into the Faulted state.

See Also